package com.gsafety.wellsfort.dao.knowledge;

import com.gsafety.wellsfort.domain.dto.question.QuestionQueryDTO;
import com.gsafety.wellsfort.domain.model.knowledge.Question;

import java.util.List;

public interface QuestionDAO {
    int deleteByPrimaryKey(Integer id);

    int insert(Question record);

    int insertSelective(Question record);

    Question selectByPrimaryKey(Integer id);

    List<Question> selectByParam(QuestionQueryDTO params);

    int updateByPrimaryKeySelective(Question record);

    int updateByPrimaryKey(Question record);
}